import request from '@/utils/request'

// 获取部门下拉
export function listYsDepartment(params) {
  return request({
    url: '/ysDepartment/listYsDepartment',
    method: 'POST',
    params
  })
}

// 预算科目名称下拉
export function listYsSubject5(params) {
  return request({
    url: '/ysSubject/listYsSubject5',
    method: 'GET',
    params
  })
}

// 科目下拉
export function listYsBusinessSubject(params) {
  return request({
    url: '/ysBusinessSubject/listYsBusinessSubject',
    method: 'GET',
    params
  })
}

// 下拉
export function listYsManageSubject(params) {
  return request({
    url: '/ysManageSubject/listYsManageSubject',
    method: 'GET',
    params
  })
}

// 获取用友部门
export function getYyDept(params) {
  return request({
    url: '/ysEtlAccount/getYyDept',
    method: 'GET',
    params
  })
}

